package com.wzy.controller;

import com.crpc.common.annotation.CrpcService;
import com.wzy.service.TestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/")
public class TestController {
    @CrpcService
    private TestService testService;

    @GetMapping("test")
    public String test() {
        return testService.TestCrpc("测试");
    }
}
